diff options
Diffstat (limited to 'backends/keymapper/remap-dialog.cpp')
-rw-r--r-- | backends/keymapper/remap-dialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/keymapper/remap-dialog.cpp b/backends/keymapper/remap-dialog.cpp index 3aa3647048..9c52a922c5 100644 --- a/backends/keymapper/remap-dialog.cpp +++ b/backends/keymapper/remap-dialog.cpp @@ -267,7 +267,7 @@ void RemapDialog::startRemapping(uint i) { _remapTimeout = g_system->getMillis() + kRemapTimeoutDelay; Action *activeRemapAction = _currentActions[_topAction + i].action; _keymapWidgets[i].keyButton->setLabel("..."); - _keymapWidgets[i].keyButton->draw(); + _keymapWidgets[i].keyButton->markAsDirty(); _keymapper->startRemappingMode(activeRemapAction); } @@ -414,8 +414,8 @@ void RemapDialog::refreshKeymap() { _topAction = newTopAction; - //_container->draw(); - _scrollBar->draw(); + //_container->markAsDirty(); + _scrollBar->markAsDirty(); uint actionI = _topAction; @@ -446,12 +446,12 @@ void RemapDialog::refreshKeymap() { widg.keyButton->setVisible(false); widg.clearButton->setVisible(false); } - //widg.actionText->draw(); - //widg.keyButton->draw(); + //widg.actionText->markAsDirty(); + //widg.keyButton->markAsDirty(); } // need to redraw entire Dialog so that invisible // widgets disappear - draw(); + g_gui.scheduleTopDialogRedraw(); } |