[studio] Remove Editor::requiresConstantRefresh
This commit is contained in:
parent
c6efabaa1d
commit
e22b25e54c
@ -23,7 +23,6 @@ class BaseEditor: public Widget {
|
|||||||
bool m_cutEnabled = false;
|
bool m_cutEnabled = false;
|
||||||
bool m_copyEnabled = false;
|
bool m_copyEnabled = false;
|
||||||
bool m_pasteEnabled = false;
|
bool m_pasteEnabled = false;
|
||||||
bool m_requiresConstantRefresh = false;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
~BaseEditor() override = default;
|
~BaseEditor() override = default;
|
||||||
@ -52,9 +51,6 @@ class BaseEditor: public Widget {
|
|||||||
|
|
||||||
virtual void onActivated() noexcept;
|
virtual void onActivated() noexcept;
|
||||||
|
|
||||||
[[nodiscard]]
|
|
||||||
bool requiresConstantRefresh() const noexcept;
|
|
||||||
|
|
||||||
void close() const;
|
void close() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -36,10 +36,6 @@ void BaseEditor::keyStateChanged(turbine::Key, bool) {
|
|||||||
void BaseEditor::onActivated() noexcept {
|
void BaseEditor::onActivated() noexcept {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool BaseEditor::requiresConstantRefresh() const noexcept {
|
|
||||||
return m_requiresConstantRefresh;
|
|
||||||
}
|
|
||||||
|
|
||||||
void BaseEditor::close() const {
|
void BaseEditor::close() const {
|
||||||
this->closed.emit(itemPath());
|
this->closed.emit(itemPath());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user