mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Disabled ability to use hotkeys when selecting color in photo editor.
This commit is contained in:
@@ -166,7 +166,9 @@ PhotoEditor::PhotoEditor(
|
||||
}
|
||||
|
||||
void PhotoEditor::handleKeyPress(not_null<QKeyEvent*> e) {
|
||||
_content->handleKeyPress(e) || _controls->handleKeyPress(e);
|
||||
if (!_colorPicker->preventHandleKeyPress()) {
|
||||
_content->handleKeyPress(e) || _controls->handleKeyPress(e);
|
||||
}
|
||||
}
|
||||
|
||||
void PhotoEditor::save() {
|
||||
|
Reference in New Issue
Block a user