mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 21:41:02 +00:00
Remove bool return type from PopupWindowPin::showPin()
This commit is contained in:
parent
efe31b02d9
commit
1f81e9f8d1
@ -40,7 +40,7 @@ PopupWindowPin::PopupWindowPin(const std::string& text, ClickBehavior clickBehav
|
||||
CENTER | MIDDLE));
|
||||
}
|
||||
|
||||
bool PopupWindowPin::showPin(bool state)
|
||||
void PopupWindowPin::showPin(bool state)
|
||||
{
|
||||
m_pin.setVisible(state);
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ namespace app {
|
||||
public:
|
||||
PopupWindowPin(const std::string& text, ClickBehavior clickBehavior);
|
||||
|
||||
bool showPin(bool state);
|
||||
void showPin(bool state);
|
||||
bool isPinned() const { return m_pin.isSelected(); }
|
||||
void setPinned(bool pinned);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user