We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e513b0f commit 4c8d5b6Copy full SHA for 4c8d5b6
1 file changed
src/sys/mapeditor/widgets/MEUserInterface.cpp
@@ -1457,7 +1457,13 @@ void MEUserInterface::activateTabletUI()
1457
{
1458
if (ierr != 0)
1459
1460
- printMessage("Can't open socket connection for TabletUI");
+ static bool errorPrinted = false;
1461
+ if (!errorPrinted)
1462
+ {
1463
+ printMessage("Can't open socket connection for TabletUI");
1464
+ errorPrinted = true;
1465
+ }
1466
+ delete m_tablet;
1467
m_tablet = NULL;
1468
m_showTabletUI_a->setEnabled(false);
1469
}
0 commit comments