Hide at start move button
This commit is contained in:
parent
9d28fb8a59
commit
c9ca230dfd
|
@ -176,7 +176,7 @@ fn move_with_tree(tree_view: gtk::TreeView, column_file_name: i32, column_path:
|
|||
if model.value(&iter, column_color).get::<String>().unwrap() == MAIN_ROW_COLOR {
|
||||
selection_rows.push(model.path(&iter).unwrap());
|
||||
} else {
|
||||
println!("ERROR: This should not happen model.value(&iter, column_color).get::<String>().unwrap() != MAIN_ROW_COLOR");
|
||||
panic!("Header row shouldn't have selected, selection button");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ pub fn initialize_gui(gui_data: &mut GuiData) {
|
|||
let buttons_select = gui_data.bottom_buttons.buttons_select.clone();
|
||||
let buttons_symlink = gui_data.bottom_buttons.buttons_symlink.clone();
|
||||
let buttons_hardlink = gui_data.bottom_buttons.buttons_hardlink.clone();
|
||||
let buttons_move = gui_data.bottom_buttons.buttons_move.clone();
|
||||
|
||||
// Disable and show buttons - only search button should be visible
|
||||
buttons_search.show();
|
||||
|
@ -30,6 +31,7 @@ pub fn initialize_gui(gui_data: &mut GuiData) {
|
|||
buttons_select.hide();
|
||||
buttons_symlink.hide();
|
||||
buttons_hardlink.hide();
|
||||
buttons_move.hide();
|
||||
}
|
||||
|
||||
//// Initialize main scrolled view with notebook
|
||||
|
|
Loading…
Reference in a new issue