mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-09-30 18:20:19 +03:00
Added support for maximizing the current tab widget (commands: maximize-tab-widget and restore-maximized-tab-widget), it can also be triggered right clicking a tab -> Maximize Tab Widget (SpartanJ/ecode#651).
Added UINodeLink, this is a very simple node that lets you set a link to another node. Improved focus control in the status bar panels and windows. It's possible now in UICodeEditorSplitter to cancel a split request with a custom function checker. When downloading a file that it's not a supported format, it will try to open with the default external program set in the host OS.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <eepp/system/sys.hpp>
|
||||
#include <eepp/ui/tools/uiaudioplayer.hpp>
|
||||
#include <eepp/ui/tools/uiimageviewer.hpp>
|
||||
#include <eepp/ui/uinodelink.hpp>
|
||||
#include <eterm/ui/uiterminal.hpp>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
@@ -477,6 +478,8 @@ json AppConfig::saveNode( Node* node ) {
|
||||
splitter->getOrientation() == UIOrientation::Horizontal ? "horizontal" : "vertical";
|
||||
res["first"] = saveNode( splitter->getFirstWidget() );
|
||||
res["last"] = saveNode( splitter->getLastWidget() );
|
||||
} else if ( node->isType( UI_TYPE_NODELINK ) && node->asType<UINodeLink>()->getNodeLink() ) {
|
||||
return saveNode( node->asType<UINodeLink>()->getNodeLink() );
|
||||
} else if ( node->isType( UI_TYPE_TABWIDGET ) ) {
|
||||
UITabWidget* tabWidget = node->asType<UITabWidget>();
|
||||
std::vector<json> files;
|
||||
|
||||
Reference in New Issue
Block a user