mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-29 05:42:33 +00:00
Update Web Link Association in Preferences (#5791)
* Fix check_url_association return value * Update Web Link Association Preferences Uses a checkbox in place of button to show if the current instance is registered at a quick look New function is added to build the link association item Current association line shows "None" for no app associated, "Current Instance" if the current instance is associated, and the formatted path to the registered app (Removes quotes and other extra chars) * Update to use localization * Fix Linux Build --------- Co-authored-by: SoftFever <softfeverever@gmail.com>
This commit is contained in:
@@ -119,6 +119,9 @@ public:
|
||||
wxString title, wxWindow *parent, wxString tooltip, int padding_left, std::string parama, std::vector<wxString> vlista, std::vector<wxString> vlistb);
|
||||
wxBoxSizer *create_item_switch(wxString title, wxWindow *parent, wxString tooltip, std::string param);
|
||||
wxWindow * create_item_radiobox(wxString title, wxWindow *parent, wxString tooltip, int padding_left, int groupid, std::string param);
|
||||
#ifdef WIN32
|
||||
wxBoxSizer* create_item_link_association(wxWindow* parent, wxString url_prefix, wxString website_name);
|
||||
#endif // WIN32
|
||||
|
||||
wxWindow* create_general_page();
|
||||
void create_gui_page();
|
||||
|
||||
Reference in New Issue
Block a user