fix ppbr panel on iOS
This commit is contained in:
@@ -29,6 +29,7 @@ void NodeDialogExportPPBR::init_controls()
|
||||
{
|
||||
m_title = find<NodeText>("title");
|
||||
m_dest_path_txt = find<NodeText>("dest-path");
|
||||
if (m_dest_path_txt)
|
||||
m_dest_path_txt->SetVisibility(false);
|
||||
btn_ok = find<NodeButton>("btn-ok");
|
||||
btn_cancel = find<NodeButton>("btn-cancel");
|
||||
@@ -50,6 +51,8 @@ void NodeDialogExportPPBR::init_controls()
|
||||
App::I->message_box("WIP", "This feature is not yet implemented.");
|
||||
};
|
||||
btn_pick_dest = find<NodeButton>("pick-dest");
|
||||
if (btn_pick_dest)
|
||||
{
|
||||
btn_pick_dest->on_click = [this] (Node*) {
|
||||
App::I->pick_dir([this](std::string path){
|
||||
m_dest_path = path;
|
||||
@@ -58,6 +61,7 @@ void NodeDialogExportPPBR::init_controls()
|
||||
export_check->set_value(true);
|
||||
});
|
||||
};
|
||||
}
|
||||
img_header = find<NodeImageTexture>("header-tex");
|
||||
txt_header_descr = find<NodeText>("header-descr");
|
||||
txt_author = find<NodeTextInput>("info-author");
|
||||
|
||||
Reference in New Issue
Block a user