Fixed issue with upload hotkey. It was classified with the wrong set of hotkeys
This commit is contained in:
committed by
borgmanJeremy
parent
b531d2e0e8
commit
e5f2257831
@@ -216,7 +216,6 @@ void CaptureWidget::updateButtons()
|
||||
case CaptureToolButton::ButtonType::TYPE_COPY:
|
||||
case CaptureToolButton::ButtonType::TYPE_UNDO:
|
||||
case CaptureToolButton::ButtonType::TYPE_REDO:
|
||||
case CaptureToolButton::ButtonType::TYPE_IMAGEUPLOADER:
|
||||
// nothing to do, just skip non-dynamic buttons with existing
|
||||
// hard coded slots
|
||||
break;
|
||||
@@ -1087,10 +1086,6 @@ void CaptureWidget::initShortcuts()
|
||||
QVariant::fromValue(CaptureToolButton::ButtonType::TYPE_REDO).toString());
|
||||
new QShortcut(QKeySequence(shortcut), this, SLOT(redo()));
|
||||
|
||||
shortcut = ConfigHandler().shortcut(
|
||||
QVariant::fromValue(CaptureToolButton::ButtonType::TYPE_IMAGEUPLOADER)
|
||||
.toString());
|
||||
|
||||
new QShortcut(QKeySequence(ConfigHandler().shortcut("TYPE_TOGGLE_PANEL")),
|
||||
this,
|
||||
SLOT(togglePanel()));
|
||||
|
||||
Reference in New Issue
Block a user