Skip to content

Commit

Permalink
update wxWidgets, made revision dialog listviews non persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
antonvw committed Nov 3, 2024
1 parent 2323688 commit adfb964
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion external/wxWidgets
Submodule wxWidgets updated 386 files
8 changes: 5 additions & 3 deletions src/vcs/revisions-dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ int wex::vcs_entry::revisions_dialog(
data::window()
.title(file.filename() + " " + _("Select Revision"))
.size({350, 400}));
const data::item di(
data::item().is_persistent(false).label_type(data::item::LABEL_NONE));

m_item_dialog = new item_dialog(
{{"notebook",
{{"versions", {{"vcs.hashes", data::listview()}}},
{"branches", {{"vcs.branches", data::listview()}}},
{"tags", {{"vcs.tags", data::listview()}}}}}},
{{"versions", {{"vcs.hashes", data::listview(), std::any(), di}}},
{"branches", {{"vcs.branches", data::listview(), std::any(), di}}},
{"tags", {{"vcs.tags", data::listview(), std::any(), di}}}}}},
data);

is_new = true;
Expand Down

0 comments on commit adfb964

Please sign in to comment.