viewertexteditor: fixed UI issues on macOS
This commit is contained in:
@@ -134,6 +134,8 @@ public:
|
||||
|
||||
void ConnectToolBar(ViewerTextEditorToolBar *toolbar);
|
||||
|
||||
void SetListenToFocusEvents(bool e) { listen_to_focus_events_ = e; }
|
||||
|
||||
protected:
|
||||
virtual void keyPressEvent(QKeyEvent *event) override;
|
||||
|
||||
@@ -152,6 +154,8 @@ private:
|
||||
|
||||
bool block_update_toolbar_signal_;
|
||||
|
||||
bool listen_to_focus_events_;
|
||||
|
||||
private slots:
|
||||
void FocusChanged(QWidget *old, QWidget *now);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user