Commit b7708ae4 authored by Martin Koller's avatar Martin Koller
Browse files

Avoid closing the color toolbar also via (e.g. Alt-F4) shortcut

BUG: 456919
parent 4207fd4c
Pipeline #214139 passed with stage
in 2 minutes and 27 seconds
......@@ -32,7 +32,7 @@
#include <QDockWidget>
#include <QFrame>
#include <QWidget>
#include <QCloseEvent>
#include "imagelib/kpColor.h"
......@@ -111,6 +111,8 @@ protected:
void dragEnterEvent (QDragEnterEvent *e) override;
void dragMoveEvent (QDragMoveEvent *e) override;
void closeEvent(QCloseEvent *event) override { event->ignore(); }
private:
void adjustToOrientation (Qt::Orientation o);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment