Skip to content

Commit

Permalink
gui[gtk3]: Fix dockable widgets displaying.
Browse files Browse the repository at this point in the history
Before this fix, some widgets, e.g. text properties, did not show
in dockable view.
  • Loading branch information
vzh committed Feb 11, 2024
1 parent 9b81b70 commit 6851819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libleptongui/src/x_widgets.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Lepton EDA Schematic Capture
* Copyright (C) 2017-2019 dmn <graahnul.grom@gmail.com>
* Copyright (C) 2017-2022 Lepton EDA Contributors
* Copyright (C) 2017-2023 Lepton EDA Contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -282,6 +282,7 @@ x_widgets_show_in_dock (GtkWidget* wbook, GtkWidget* widget)
gtk_notebook_set_current_page (nbook, page);
gtk_widget_set_visible (wbook, TRUE);
}
gtk_widget_show_all (widget);
}


Expand Down

0 comments on commit 6851819

Please sign in to comment.