1
Fork 0
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:
Andreas Kling 2019-04-16 23:11:35 +02:00
parent f7157520eb
commit ef8c613737
2 changed files with 23 additions and 13 deletions

View file

@ -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 };