viewertexteditor: fixed UI issues on macOS

This commit is contained in:
itsmattkc
2022-03-30 12:04:36 -07:00
parent 102b782215
commit 2a74522aa6
3 changed files with 17 additions and 2 deletions
+4
View File
@@ -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);