mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 14:37:45 +00:00
VisualBuilder: Share code for setting the selected widget.
This fixes an issue where the properties window didn't update when selecting a new widget using the keyboard shortcuts. :^)
This commit is contained in:
parent
f7157520eb
commit
ef8c613737
2 changed files with 23 additions and 13 deletions
|
@ -35,6 +35,7 @@ protected:
|
|||
|
||||
private:
|
||||
void grabber_mousedown_event(GMouseEvent&, VBWidget&, Direction grabber);
|
||||
void set_selected_widget(VBWidget*);
|
||||
|
||||
String m_name;
|
||||
int m_grid_size { 5 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue